<?php
include 'Mysql.php';

class Cartoon extends Mysql
{
	public function cartoonSearch($arg)
	{
		return $this -> fields('name,code,pic,link') -> where('name like "%' . $arg . '%"') -> order('cid desc') -> limit(5) -> select(MYSQLI_NUM);
		
	}
}